package com.wh.message.jpush.in;

import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 极光推送入参
 * @author 谢泽鹏
 * @version V1.0
 * @Package com.wh.message.jpush.in
 * @date 2014年10月8日 下午4:02:14
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
public class JPushMessageIn implements Serializable {

	private static final long serialVersionUID = 3863182839672839089L;

	@NotEmpty(message = "标题不能为空")
	private String title;

	@NotEmpty(message = "内容不能为空")
	private String content;

	@NotEmpty(message = "接收用户编号")
	private String userId;

	@NotNull(message = "未读消息条数")
	private Integer rowNum;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getRowNum() {
		return rowNum;
	}

	public void setRowNum(Integer rowNum) {
		this.rowNum = rowNum;
	}
}
